<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/


Route::get('auth/login','Auth\AuthController@getLogin');
Route::post('auth/login','Auth\AuthController@postLogin');
Route::get('auth/logout','Auth\AuthController@getLogout');

Route::get('auth/rigister','Auth\AuthController@getRegister');
Route::post('auth/rigister','Auth\AuthController@postRegister');

Route::get('/','Home\WishwallController@index');
Route::get('index','Home\WishwallController@index');
Route::get('note','Home\WishwallController@note');
Route::match(['get','post'],'ajaxs/{act}','Home\WishwallController@ajaxs');
